import axios from '@/utils/axios'
export default {
	//首页视频
	homeVideo(data) {
		return axios({
			url: 'index/index',
			method: 'get',
			data: data
		})
	},
	//获取问题
	chatList(data) {
		return axios({
			url: 'index/chat',
			method: 'get',
			data: data
		})
	},
	//用户注册
	userRegister(data) {
		return axios({
			url: 'user/register',
			method: 'post',
			data: data
		})
	},
	//用户登录
	userLogin(data) {
		return axios({
			url: 'user/login',
			method: 'post',
			data: data
		})
	},
	//用户协议
	agreeOn(data) {
		return axios({
			url: 'index/text',
			method: 'get',
			data: data
		})
	},
	//注册钱包
	registerwallet(data) {
		return axios({
			url: 'user/registerwallet',
			method: 'post',
			data: data
		})
	},
	//获取助词器
	individualWord(data) {
		return axios({
			url: 'index/words',
			method: 'get',
			data: data
		})
	},
	//获取助词器
	individualmywords(data) {
		return axios({
			url: 'index/mywords',
			method: 'get',
			data: data
		})
	},
	//我的钱包
	mywalletData(data) {
		return axios({
			url: 'index/mywallet',
			method: 'get',
			data: data
		})
	},
	//钱包信息
	walletinfo(data) {
		return axios({
			url: 'index/walletinfo',
			method: 'get',
			data: data
		})
	},
	//转账
	postTransfer(data) {
		return axios({
			url: 'index/transfer',
			method: 'post',
			data: data
		})
	},
	//个人收益信息列表
	getStaticorder(data) {
		return axios({
			url: 'index/staticorder',
			method: 'get',
			data: data
		})
	},
	//薪资待遇
	getMysalary(data) {
		return axios({
			url: 'index/mysalary',
			method: 'get',
			data: data
		})
	},
	//薪资待遇记录
	getMysalarylog(data) {
		return axios({
			url: 'index/mysalarylog',
			method: 'get',
			data: data
		})
	},
	//推荐数据
	getRecommendrule(data) {
		return axios({
			url: 'index/recommendrule',
			method: 'get',
			data: data
		})
	},
	//推荐数据记录
	getRecommendrulelog(data) {
		return axios({
			url: 'index/recommendrulelog',
			method: 'get',
			data: data
		})
	},
	//签名
	autograph(data) {
		return axios({
			url: 'index/autograph',
			method: 'post',
			data: data
		})
	},
	//获取签到数据
	getSigninLog(data) {
		return axios({
			url: 'index/signinLog',
			method: 'get',
			data: data
		})
	},
	//签到
	postSignin(data) {
		return axios({
			url: 'index/signin',
			method: 'post',
			data: data
		})
	},
	//校验是否有购买门票
	checkTickets(data) {
		return axios({
			url: 'index/checkTickets',
			method: 'get',
			data: data
		})
	},
	//查看门票地址
	getTickets(data) {
		return axios({
			url: 'index/getTickets',
			method: 'get',
			data: data
		})
	},
	//查看门票地址
	buyTickets(data) {
		return axios({
			url: 'index/buyTickets',
			method: 'post',
			data: data
		})
	},
	//查看门票地址
	rechange(data) {
		return axios({
			url: 'index/rechange',
			method: 'post',
			data: data
		})
	},
}
